package com.kang.service;

import java.util.List;

import com.kang.pojo.PickingreturnIteminformation;

/**
 * 领料归还服务
 * 
 * @author ysq
 *
 */
public interface PickingreturnIteminformationService {
	/**
	 * 根据id修改item_detail的number数量（归还后加上数量）
	 * 
	 * @param id
	 * @param number
	 * @return
	 */
	public int updateItem_detailNumberById(Integer id, Integer number);

	/**
	 * 根据pickingreturnID删除所有pickingreturn_iteminformation信息
	 * 
	 * @param pickingreturnID
	 * @return
	 */
	public int delPickingreturnIteminformation(Integer pickingreturnID);

	/**
	 * 根据pickingreturnID查询领料归还_物品信息
	 * 
	 * @param pickingreturnID
	 * @return
	 */
	public List<PickingreturnIteminformation> selectPickingreturnIteminformationByPickingreturnID(
			int pickingreturnID);

	/**
	 * 添加领料归还_物品信息
	 * 
	 * @param pickingreturnIteminformation
	 * @return
	 */
	public int addPickingreturnIteminformation(
			PickingreturnIteminformation pickingreturnIteminformation);

	/**
	 * 修改领料归还_物品信息
	 * 
	 * @param pickingreturnIteminformation
	 * @return
	 */
	public int updatePickingreturnIteminformation(
			PickingreturnIteminformation pickingreturnIteminformation);
}
